<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* prestation/ajouter.html.twig */
class __TwigTemplate_088163885d609d8781094599cc71a1ca extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'title' => [$this, 'block_title'],
            'body' => [$this, 'block_body'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "prestation/ajouter.html.twig"));

        $this->parent = $this->load("base.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        yield "Ajouter une Prestation";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    // line 5
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        // line 6
        yield "<div class=\"formulaire\">
    <h1 class=\"h3 mb-3 font-weight-normal\">Ajouter une Prestation</h1>

    <form method=\"post\" class=\"form-simple\" action=\"";
        // line 9
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_prestation_ajouter");
        yield "\">

            <input type=\"text\" name=\"titre\" placeholder=\"Titre de la prestation\" class=\"form-control\">

            <textarea name=\"description\" placeholder=\"Description\" class=\"form-control\"></textarea>

            <input type=\"number\" name=\"prix\" placeholder=\"Prix (€)\" step=\"0.01\" min=\"0\" class=\"form-control\">

            <button type=\"submit\" class=\"btn btn-primary btn-submit\" style=\"margin-top: 10px;\">Ajouter la prestation</button>
            <div style=\"margin-top: 5px;\">
            <a href=\"";
        // line 19
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_prestation");
        yield "\" class=\"btn btn-secondary btn-cancel\">Annuler</a></div>
        </div>
    </form>
</div>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "prestation/ajouter.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  103 => 19,  90 => 9,  85 => 6,  75 => 5,  58 => 3,  41 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends 'base.html.twig' %}

{% block title %}Ajouter une Prestation{% endblock %}

{% block body %}
<div class=\"formulaire\">
    <h1 class=\"h3 mb-3 font-weight-normal\">Ajouter une Prestation</h1>

    <form method=\"post\" class=\"form-simple\" action=\"{{ path('app_prestation_ajouter') }}\">

            <input type=\"text\" name=\"titre\" placeholder=\"Titre de la prestation\" class=\"form-control\">

            <textarea name=\"description\" placeholder=\"Description\" class=\"form-control\"></textarea>

            <input type=\"number\" name=\"prix\" placeholder=\"Prix (€)\" step=\"0.01\" min=\"0\" class=\"form-control\">

            <button type=\"submit\" class=\"btn btn-primary btn-submit\" style=\"margin-top: 10px;\">Ajouter la prestation</button>
            <div style=\"margin-top: 5px;\">
            <a href=\"{{ path('app_prestation') }}\" class=\"btn btn-secondary btn-cancel\">Annuler</a></div>
        </div>
    </form>
</div>
{% endblock %}", "prestation/ajouter.html.twig", "C:\\Users\\arthu\\Documents\\workspace\\Projet FitZone Symfony\\FitZone\\templates\\prestation\\ajouter.html.twig");
    }
}
